WP_Defender\Controller\Firewall D

Total Complexity 126
Dependencies 33
Dependents 12
Total lines 1,086
Lines of code 662
Logical lines of code 323
Comment lines 289
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
maybe_lockout()
A
44 12 44
actions_for_blocked()
A
40 10 58
config_strings()
A
48 10 34
maybe_extend_mime_types()
A
50 9 25
verify_blocked_user()
A
47 8 39
save_settings()
S
48 6 37
__construct()
S
44 5 50
maybe_show_demo_lockout()
S
49 6 33
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_lockout_gathered_ips()
S
58 7 15
export_strings()
S
50 5 28
to_array()
S
52 3 27
check_attempt_counter_by()
S
59 3 14
print_emoji_script()
S
60 3 13
send_again()
S
61 3 12
data_frontend()
S
48 1 33
empty_lockouts()
S
58 2 18
empty_logs()
S
58 2 18
get_summary()
S
58 2 16
sync_ip_header()
S
59 2 15
send_unlock_email()
S
52 1 27
remove_data()
S
63 2 11
menu_title()
S
63 2 11
import_data()
S
69 2 7
enqueue_assets()
S
64 2 10
extend_mime_types()
S
71 2 6
dashboard_activation()
S
61 1 12
remove_settings()
S
68 1 8
dashboard_widget()
S
74 1 5
main_view()
S
81 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
clean_up_firewall_lockout()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3
clean_up_unlockout()
S
75 1 4
update_trusted_proxy_preset_ips()
S
82 1 3